package microservices.spring_cloud_server.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import microservices.spring_cloud_server.vo.PermissionVO;

@Mapper
public interface PermissionDao {
	List<PermissionVO> queryPermissionGroupList();

	List<PermissionVO> queryChildPermissionList(@Param(value = "permissionVO") PermissionVO qureyVO);

	void permissionInsert(@Param(value = "list") List<PermissionVO> list);

	void permissionDelete(@Param(value = "permissionVO") PermissionVO permissionVO);

}
